package com.zhdl.hardware.modules.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "device_action")
public class DeviceAction {

    /**
     * 动作Id
     */
    @Id
    private int actionId;

    /**
     * 设备类型-Id
     */
    private int deviceId;

    /**
     * 动作标识
     * 唯一，标记service方法
     */
    private String actionMark;

    /**
     * 动作参数
     * -到时候参数列表 --> actionParam 表
     */
    private String actionParam;

}
